package com.lee.blog.bean;

import java.util.Date;


public class Article {

    private int id;
    private String title;
    private String desc;
    private String content;
    private String type;
    private String label;
    private String time;
    private String image;

    public Article() {
    }

    public Article(int id, String title, String desc, String content, String type, String label, String time, String image) {
        this.id = id;
        this.title = title;
        this.desc = desc;
        this.content = content;
        this.type = type;
        this.label = label;
        this.time = time;
        this.image = image;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    @Override
    public String toString() {
        return "Article{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", desc='" + desc + '\'' +
                ", content='" + content + '\'' +
                ", type='" + type + '\'' +
                ", label='" + label + '\'' +
                ", tiem=" + time +
                ", image='" + image + '\'' +
                '}';
    }
}
